home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / mac / ch06 / 06fig09.wrl < prev    next >
Text File  |  1996-09-23  |  581b  |  37 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright 1997 By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Group {
  6.     children [
  7.     # Arm 1
  8.         DEF Arm1 Shape {
  9.             appearance Appearance {
  10.                 material Material { }
  11.             }
  12.             geometry Cylinder {
  13.                 height 1.0
  14.                 radius 0.1
  15.             }
  16.         },
  17.     # Arm 2
  18.         DEF Arm2 Transform {
  19.             rotation 1.0 0.0 0.0  1.047
  20.             children USE Arm1
  21.         },
  22.     # Arm 3
  23.         DEF Arm3 Transform {
  24.             rotation 1.0 0.0 0.0  2.094
  25.             children USE Arm1
  26.         },
  27.     # Arms 4 and 5
  28.         Transform {
  29.             rotation 0.0 1.0 0.0  1.785
  30.             children [
  31.                 USE Arm2,
  32.                 USE Arm3
  33.             ]
  34.         }
  35.     ]
  36. }
  37.